import { useMatch } from "umi"

export default function(){
  console.log("🚀 ~ pathname:", useMatch('/temp/:post'))
  return (
    <div>
      <h1>$post - index.js</h1>
    </div>
  )
}